<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.infomanage.po.*" %>
<%@page import="com.infomanage.vo.*" %>
<%@page import="com.infomanage.enums.*"%>
<%@page import="com.infomanage.service.emergency.*"%>
<%  response.addDateHeader("Expires", 0);response.setHeader("Pragma","no-cache"); response.setHeader("Cache-Control","no-cache");%>
<%
	request.setCharacterEncoding("UTF-8");
	String itemId = request.getParameter("itemId");
    if(itemId == null) itemId = "";
    
    EmergencyContactInfo item = EmergencyContactInfoService.loadEmergencyContactInfo(request, response, out);
    String homeTelephoneNo = "";
    String personName = "";
    String adress = "";
    String cellPhone = "";
    String description = "";
    String place = "";
    String position = "";
    String telephoneNo = "";
    if(item != null) {
    	homeTelephoneNo = item.getHomeTelephoneNo();
    	personName = item.getPersonName();
    	adress = item.getAdress();
    	cellPhone = item.getCellPhone();
    	description = item.getDescription();
    	place = item.getPlace();
    	position = item.getPosition();
    	telephoneNo = item.getTelephoneNo();
    } 
%>
<html>
<head>
	<title>服务矿区联系方式</title>
	<link href="../../css/table.css" rel="stylesheet" type="text/css">
</head>
<body  rightmargin="0" bottommargin="0" leftmargin="0" topmargin="0">
	<input type="hidden" name="itemId" value="<%=itemId%>">
	<input type="hidden" name="actionType">
	<table class="dialogTable" cellpadding="0" cellspacing="0">
		<!-- 表头-->
		<tr class="dialogTableHeader">
			<td>服务矿区联系方式</td>
		</tr>
		<!-- 表数据-->
		<tr class="dialogTableContent">
			<td>
				<!-- 数据项 -->
				<table class="dataTable">
					<col width="30%">
					<col width="70%">
					<tr>
						<td class="field">
							服务矿区名称
						</td>
						<td>
							<%=place%>
						</td>
					</tr>
					<tr>
						<td class="field">
							联系人
						</td>
						<td>
							<%=personName %>
						</td>
					</tr>
					<tr>
						<td class="field">
							职务
						</td>
						<td>
							<%=position%>
						</td>
					</tr>
					<tr>
						<td  class="field">
							手机
						</td>
						<td>
							<%=cellPhone %>
						</td>
					</tr>
					<tr>
						<td class="field">
							办公固定电话
						</td>
						<td>
							<%=telephoneNo %>
						</td>
					</tr>
					<tr>
						<td class="field">
							住宅固定电话
						</td>
						<td>
							<%=homeTelephoneNo %>
						</td>
					</tr>
					<tr>
						<td class="field">
							家庭住址
						</td>
						<td>
							<%=adress %>
						</td>
					</tr>
					<tr style="height: 100px">
						<td class="field">
							备注
						</td>
						<td valign="top">
							<textarea style="width: 100%;height: 100%;background-color:#dfe8f6" readonly><%=description %></textarea>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td colspan="2" class="tableBtn">
				<span onclick="window.close();">关闭</span>
			</td>
		</tr>
		<tr valign="top">
			<td colspan="2">
				&nbsp;
			</td>
		</tr>
	</table>
	<iframe src="#" frameborder="0" id="treeFrame" name="frame" style="display: none;position: absolute;"></iframe>
	<iframe src="#" name="actionFrame" style="display: none;"></iframe>
</body>
</html>